/**
 * @file    assembler.h
 * @author  Thomas Di'Meco and Matthieu Maugard
 * @brief   Parse and assemble a procsi program
 */

#ifndef ASSEMBLER_H_
#define ASSEMBLER_H_

/**
 * Assemble the given file by parsing each instruction
 * and store the result into memory
 * @param filename The file to assemble
 * @param err_file The error output stream
 * @return ASSEMBLY_ERROR if an error occured,
 *         ASSEMBLY_NO_ERROR otherwise
 */
int assemble (const char * filename, FILE * err_file);

#endif /* ASSEMBLER_H_ */
